package com.wrupple.muba.desktop.client.events;

import com.wrupple.muba.desktop.domain.DesktopDescriptor;

public class DesktopModelReceivedEvent extends DesktopInitializationEvent {

	DesktopDescriptor desktopModel;

	public DesktopModelReceivedEvent(DesktopDescriptor desktop) {
		this.desktopModel = desktop;
	}

	@Override
	protected void dispatch(HandlesDesktopInitializationEvents handler) {
		handler.onDesktopModelReceived(this);
	}

	public DesktopDescriptor getDesktopModel() {
		return desktopModel;
	}

}
